<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>爱乘车</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="keywords" content="关键词" />
<meta name="description" content="描述" />
<script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript">
  window.onload = function() {
    //var stations={$buslist1.stations};
      if('{$buslist1.stations}'!=''){
        $("#p1").text('{$buslist1.stations}');
        $("#p2").text('{$buslist1.minutes}');
      }
      else{
        $("#test")[0].innerHTML="<span class='rednote1'>该公交车尚未发车！</span>";
      }
    }
</script>
</head>
<body>
<div class="wraptop">
  <div class="buscont">
      <h2>{$buslist1.lineid}路</h2>
      <div class="infolist">
       <small>票价：</small><span class="fc-f60">{$buslist1.ticket_price}元</span>
      </div>
      <div class="clearfix"></div>
      <div class="intro">          
         <div id="test">
           <p>距离 <span class="rednote1" id="p1"></span> 站<span class="don"></span>约 <span class="rednote2" id="p2"></span> 分钟</p>
         </div>
      </div>
      <div class="bbb">如出现异常，请点击下面的刷新按钮
		 
	  </div>  
  </div>
</div>

<div class="container">
  <div class="blankin"></div>   
  <include file="Bus/View/Gg/ggarticle.html" />
  <div class="u-entry"><a href="/bus/gzh/kefu.html"><img src="{$Think.const.IMG_URL}lazy.gif" data-echo="<?php echo IMG_URL;?>liuyan.png" /></a></div>
  <div class="blankbot clearfix"></div>
  <div class="bot">
     <a href="javascript:window.history.back();" class="bak">返 回</a>
     <a onclick="renovates()" class="refresh" id="refresh">刷 新</a> 
     <a href="{:U('./Bus/Pay/pay')}" class="pay">上车付款</a>  
  </div>
</div>
<script src="<?php echo JS_URL;?>echo.min.js"></script>
<script>
Echo.init({
  offset: 500,
  throttle: 0
});
</script>
<script>
function renovates(){
    document.location.reload();
}
</script>
</body>
</html>